package com.koron.ticket.workchange.ticketchangeinterrupt.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.bean.base.BaseBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class TicketChangeInterrupt extends BaseBean {

    @ApiModelProperty("工作票ID")
    private String workTicketId;

    @ApiModelProperty("变更单ID")
    private String changeId;

    @ApiModelProperty("中断时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date interruptTime;

    @ApiModelProperty("工作负责人账户")
    private String directorAccountInterrupt;

    @ApiModelProperty("工作负责人名称")
    private String directorNameInterrupt;

    @ApiModelProperty("工作许可人账户")
    private String permitAccountInterrupt;

    @ApiModelProperty("工作许可人名称")
    private String permitNameInterrupt;

    @ApiModelProperty("开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty("工作负责人账户")
    private String directorAccountStart;

    @ApiModelProperty("工作负责人名称")
    private String directorNameStart;

    @ApiModelProperty("工作许可人账户")
    private String permitAccountStart;

    @ApiModelProperty("工作许可人名称")
    private String permitNameStart;

    @ApiModelProperty("备注")
    private String description;

}
